package utils;

import org.testng.Assert;

public class AssertUtil {
    public static void Assert(ResponseData responseData,int code,int status,String description){
        Assert.assertEquals(responseData.getCode(),code);
        Assert.assertEquals(responseData.getBody().getIntValue("status"),status);
        Assert.assertEquals(responseData.getBody().getString("description"),description);
    }
}
